﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wedn.Net.Model;

namespace Wedn.Net.IBLL
{
    /// <summary>
    /// 配置信息管理拓展类接口
    /// </summary>
    public partial interface IOptionManager
    {
        /// <summary>
        /// 获取设置信息字典
        /// </summary>
        /// <returns>设置信息字典</returns>
        IDictionary<string, string> GetSetting();
        /// <summary>
        /// 根据选项名称更新对应的选项值, 返回执行结果受影响行数
        /// </summary>
        /// <param name="name">要修改的选项名称</param>
        /// <param name="value">要更新的值</param>
        /// <returns>执行结果受影响行数</returns>
        int UpdateValue(string name, string value);
    }
}
